<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> 
  [#include "/webpage/common/common_css.html"/]  
<body>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="30">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="15" height="30"><img src="${cache}/images/tab_03.gif" width="15" height="30" /></td>
        <td width="1101" background="${cache}/images/tab_05.gif">
        <img src="${cache}/images/311.gif" width="16" height="16" /> 
		    <span class="STYLE4">${title}</span></td>
        <td width="281" background="${cache}/images/tab_05.gif" style="text-align:right;" >
           <img src="${cache}/images/010.gif" style="cursor:pointer" alt="关闭" onclick="closeWin()">
        </td>
        <td width="14"><img src="${cache}/images/tab_07.gif" width="14" height="30" /></td>
      </tr>
    </table>
	</td>
  </tr>
  <tr>
    <td>
	   <table width="100%" border="0" cellspacing="0" cellpadding="0" >
      <tr>
        <td width="9" background="${cache}/images/tab_12.gif">&nbsp;</td>
        <td bgcolor="#f3ffe3"> 
              <form action="${base}/userMain/setAcomm.do" id="commForm" method="post">
               <div>
                <table style="width:98%;text-align:center;font-size:12px" cellspacing="4px" cellpadding="3px">
                       <tr>
                          <td colspan="2" style="height:3px;"></td> 
                        </tr> 
                       <tr>
                          <td style="width:30%;text-align:right">充值订单:</td>
                          <td style="text-align:left">
                              <input value="[#if chargeOrderDetail.chargeOrder?exists]${chargeOrderDetail.chargeOrder!}[#else]----[/#if]" 
                                     readonly name="comm*chargeOrder"/>
                          </td>
                       </tr>
                       <tr>
                          <td style="width:30%;text-align:right">充值金额:</td>
                          <td style="text-align:left">
                              <input value="[#if chargeOrderDetail.actualAccount?exists]
                              ${chargeOrderDetail.actualAccount!}[#else]----[/#if]" readonly name="comm*chargeAmount"/>
                          </td>
                       </tr>
                       <tr>
                          <td style="width:30%;text-align:right">用户名:</td>
                          <td style="text-align:left">
                              <input value="${user.loginName!}" readonly name="comm*uname"/>
                          </td>
                       </tr>
                        <tr>
                          <td style="width:30%;text-align:right">用户ID:</td>
                          <td style="text-align:left">
                               <input value="${user.uid!}" readonly readonly name="comm*uid"/>
                          </td>
                       </tr>
                        <tr>
                          <td style="width:30%;text-align:right">余额:</td>
                          <td style="text-align:left">
                               <input value="${user.coin?string('0.00')}" readonly/>
                          </td>
                       </tr>
                       <tr>
                          <td style="width:30%;text-align:right">冻结金额:</td>
                          <td style="text-align:left">
                              <input value='${user.fcoin?string("0.00")}' readonly/>
                          </td>
                       </tr> 
                        <tr>
                          <td style="width:30%;text-align:right">活动佣金比例:</td>
                          <td style="text-align:left">
                               <input name="comm*commissionRate" style="width: 90%"
                               [#if !chargeOrderDetail.chargeOrder?exists] 
                                  readonly
                               [/#if]/>%
                          </td>
                       </tr> 
                        <tr>
                          <td style="width:30%;text-align:right">活动佣金倍数:</td>
                          <td style="text-align:left">
                              <input name="comm*commissionBeishu"
                                [#if !chargeOrderDetail.chargeOrder?exists] 
                                  readonly
                               [/#if]
                              />
                          </td>
                       </tr>  
                        <tr>
                          <td colspan="2" style="height:10px;">
                            [#if !chargeOrderDetail.chargeOrder?exists] 
                             <font style="color: red">*用户没有充值记录，无法设置活动佣金。</font>
                            [/#if]
                          </td>
                         
                        </tr> 
                         <tr>
                           <td style="width:50%;text-align:right">
                                 <input type="button" value="确定" 
                                   [#if chargeOrderDetail.chargeOrder?exists] 
                                        onclick="setAcomm()"
                                   [/#if]
                              />
                           </td>
                            <td style="text-align:left">
                                   <input type="button" value="关闭" onclick="closeWin()"/>
                            </td>
                         
                        </tr> 
                        
                   </table> 
               </div> 
               </form>
        </td>
        <td width="9" background="${cache}/images/tab_16.gif">&nbsp;</td>
      </tr>
    </table>
    </td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr height="30">
        <td width="15" >
        <img src="${cache}/images/tab_20.gif" width="15"   /></td>
        <td background="${cache}/images/tab_21.gif" style="text-align:center"> 
        </td>
        <td width="14"><img src="${cache}/images/tab_22.gif" width="14"  /></td>
      </tr> 
</table>
 [#include "/webpage/common/common_js.html"/]  
 <script type="text/javascript" src="${cache}/js/user/user.js"></script> 
</body>
</html>
